package com.ruoyi.liangshi.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜品信息对象 gd_atch_item
 * 
 * @author ruoyi
 * @date 2023-11-18
 */
@Data
public class GdAtchItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品Id */
    private Long id;

    /** 所属门店 */
    @Excel(name = "所属门店")
    private Long shopId;

    /** 菜品编码 */
    @Excel(name = "菜品编码")
    private String code;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String name;

    /** 菜品单位Id */
    @Excel(name = "菜品单位Id")
    private Long unitId;

    /** 菜品定价 */
    @Excel(name = "菜品定价")
    private BigDecimal stdPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal costPrice;

    /** 菜品品牌 */
    @Excel(name = "菜品品牌")
    private Long brandId;

    /** 所属大类 */
    @Excel(name = "所属大类")
    private Long bigClassId;

    /** 所属小类 */
    @Excel(name = "所属小类")
    private Long smallClassId;

    /** 是否启用，t是 f 否  */
    @Excel(name = "是否启用，t是 f 否 ")
    private String isEnable;

    /** 菜品复杂度，A、B 、C  */
    @Excel(name = "菜品复杂度，A、B 、C ")
    private String atchType;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("code", getCode())
            .append("name", getName())
            .append("unitId", getUnitId())
            .append("stdPrice", getStdPrice())
            .append("costPrice", getCostPrice())
            .append("brandId", getBrandId())
            .append("bigClassId", getBigClassId())
            .append("smallClassId", getSmallClassId())
            .append("isEnable", getIsEnable())
            .append("atchType", getAtchType())
            .toString();
    }
}
